icu_list
icu_list
provides the ListFormatter
which renders sequences of Writeable
s as lists in a locale-sensitive way.
Examples
Format a list of strings in Spanish
use ;
use locale;
use Writeable;
let list_formatter = try_new_and
.expect;
assert_eq!;
// The Spanish 'y' sometimes becomes an 'e':
assert_eq!;
// We can use any Writeables as inputs:
assert_eq!;
More Information
For more information on development, authorship, contributing etc. please visit ICU4X home page
.